package com.quanyan.place.entity.apireq;

import com.quanyan.BaseRequest;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * Created by Kingson.chan on 2016/7/11 0011.
 */
public class ReqInviteUser extends BaseRequest {
    @Deprecated
    private String orderNo;
    @NotNull
    @Pattern(regexp="^[1][3,4,5,6,7,8,9][0-9]{9}$", message="手机号格式不正确！")
    private String mobile;
    @NotNull
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
